package br.com.sistema.buttons;

import com.vaadin.server.ThemeResource;
import com.vaadin.ui.Button;
import com.vaadin.ui.themes.BaseTheme;

public class LookupButton extends Button {

	private static final long serialVersionUID = 1L;

	public LookupButton() {
		this.setIcon(new ThemeResource("icons/magnifier.png"));
		setStyleName(BaseTheme.BUTTON_LINK);
	}
	
	public LookupButton(String caption){
		super.setCaption(caption);
		this.setIcon(new ThemeResource("icons/magnifier.png"));
		setStyleName(BaseTheme.BUTTON_LINK);
	}

}
